-
Home
-
Mercado Pago payments for WooCommerce
-
7.6.0
-
Code
-
Classes
- CurrentUser
Total Complexity |
11 |
Dependencies |
3 |
Dependents |
5 |
Total lines |
127 |
Lines of code |
33 |
Logical lines of code |
14 |
Comment lines |
67 |
Methods |
9 |
Properties |
3 |
Methods 9
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
validateUserNeededPermissions() |
S |
68 |
2 |
7 |
userHasRoles() |
S |
77 |
2 |
3 |
__construct() |
S |
73 |
1 |
5 |
isUserLoggedIn() |
S |
81 |
1 |
3 |
getCurrentUser() |
S |
81 |
1 |
3 |
getCurrentUserRoles() |
S |
81 |
1 |
3 |
getCurrentUserData() |
S |
80 |
1 |
3 |
getCurrentUserMeta() |
S |
79 |
1 |
3 |
currentUserCan() |
S |
80 |
1 |
3 |